greedy fix