Fix register.php