fixed urls to ajax requests