gw_summary: added custom units and fixed bitmask