ajax response type fix