fix prioritized sweeping-ish