remove reference cycle