fixed the line errors