Remove some unneeded lines