Fix detect cpu error