fixes export to dot format