Fixed extraneous text left from deleting a line that caused an error