removing duplicated logs