fix to move from strings to pathnames