remove spaces in if, not, partial