fix in registraton