resolved the mismatching ajax