fix the prev.edit: only abs.path will work