Minor fix for pathname