resolves task display problem by cleaning bad data.