fix mac version