fix cpu usage