getLineByPathCode instead of getLineByCode