some fixes for emf model printing