[enh] ensure trailing space is passing
[mod] remove old wrong useless code
[mod] remove useless code
[enh] handle suite followed by multiple endls