Fix bug with .osx