Adapted bitmask usage to new dbgl version