registration is working fine