fix some glitches introduced by banning bwscaling in npksum