Fix to ajax url parser.