f is undefined, delete route