remove the type==i that prevent retr/stor to work properly