NULL bitmask wasn't being read