use path instead of id