fix mac changes