fix mahic quotes