remove empty lines
format code