remove some blank lines
skip normalize if already normalized