Fix cpu use 200% in ubuntu 64-bit