registration validation improvement