fixed error in registration.php