removing double log