bugfix linediagram