attempted fix for ERC line positioning