remove some unneeded lines