fix long⇔mac