fix cpu usage.