make MAPLABEL command work correctly for pdf output