removed unneeded variable and empty config