Fixing constructor enum issue