Add missing white space and remove extra blank lines