Fixed an SPIP implementation bug