fix the get urls of ajax request