Fixed broken log statements