remove unneccessary check in required_validator