registration error fixes