removed redundant validation checks