fixed a heuristic issue