more cleanup; detect when config file lines are truncated