fix http 400 error.
ajax support