comment out log, fix validate.php