high CPU usage fix