fixed the line drawing