fix ajax request sample