registration.php was buggy