fixes on linux