removing the second error message on registration