fix ajax problem.