removed print, fixed error in mac_platforms