fixing whitespace replacer