Fixed error in DOT export