work around for linux and osx