fixed bug on linux machine