fixing compare task