correct ajax post data