Registration error message fix