make ajax data correct after restructring the site