fix cpu 100% problem