Fix the issue with cpu usage.