fixed requestFocus on validation and genrator