fix RemoveWhitespace call