remove the cookie after RID is saved