patch whitespaces