Fix a bug in the IP refactor