-fix for pathname