remove var used only once