CPU usage fix