fixing whitespace errors