Fix ajax url bug