fixed ajax post errors, turbolinks refresh issue