Fixed double log statement