fixed a typo, and refactored form textfield input