return 404 when node not found
fix url generation