remove error from registration.php