fix mac failures