fixed submitting

works end to end