s/basename/lbasename/ clean up consequences of assuming lbasename()