fixed registration error messages