If statement broken in pip.