fix mail bug in form validator and add some new stuff