Fixed log statements