Fix a few bugs and add dedicated redoutLine