Fix bitmap enum issue