fixed my fuckup on sql.php