fix bug which can cause leaking obslete ets values