in the middle of working on deref_path in fs.c