fixed 100% CPU load problem