fix autoscan being a bit overzealous on continued lines