fixed bugs in registration validation