convert win to linux.
fix some error in linux.