fix treble with zeroing
upgrade submit button and validate() method