remove mac characters