hotfix to registration validation bug