heuristic problem fix