fixes up submitting ui