templates fixes
If id is not number, return notFound