trimmed data being sent to server.