remove unnecessary ugly whitespaces on empty lines