fixed a problem with lines without element name. Imagemagick.