remove unneeded var declaration