created then fixed bug in ajax rq