Fixed the data to send to server