fixed failing mac tests