fix ajax data bug