modify validation functions.php