regexps for validation fixed