Fix register enterprise check