Fix cpu usage