Remove uneeded lines