fix submitting error