hotfix: changed constructor invocation for check