removing unneeded lines in config