Fixed log issue