little fixes to postSubmit