Fixed things on mac