host constructor hotfix