bug in ICP leaving prematurely