fix osx case