Fix ICE bug