fixes on mac