Correct the first ajax method.