hotfix: bug in usage of enum