Update ips.h

Code cleanup.