updated husky validation