remove unneeded variable declaration