remove extra empty lines & indents