removing duplicating logs