bugfix: heuristic.