fix cpu eating on idle