remove unneeded variable.