change bind to submit