form validation
editors refactor