Line diagram error