Fixed lastPath