Wrong data received by Ajax