fix submitting