reordered the settings of ajax
made it in line