fix error on linux