fixed bug on linux environments