Fixed log warning