fix bugs in Map Math display