avoid mac osx warnings