formatting of whitespaces