ensure check for %line