debug log, bitmask check instead of string comp