cleanup whitespace and always use spaces instead of tabs