Tried to fix ajax posting