Fixed some line deletion errors