updated for mac [ci skip]