rm uneeded var