fixed ajax post issue