bug fixes on mac