fixed 100% cpu load problem