Fix to IM.Clear()