replace nbsp with whitespace