Fix bug when submitting