fixes in mac