#Mac osx crash fix