Fixed log issue.