bitmask verification fixed