fix erc's handling of long lines