make sure to replace whitespace not not-whitespace