improve cpu num and dos2unix