Register.php fix