line checks, fix