fix error when run on linux