fixed usage of Utils.enableBit() so that the new bit flag value is stored