remove tab and extra linebreak