fix failing mac test