bugfixes linediagram