Fix error at registration page