rm unneeded var