remove reference react