fix osx layouts