fix ajax postings