fixed problem with more than 100% of CPU usage