Submissions are not saving correctly