removing dead code that may crash emf2svg