fix submitting posts