remove global chart ref