[sMigration] improved and fixed some error showing problems in registration.