duplicate logs fixed