fixed issues with linux