return null if route is undefined under 404 error.
Merge pull request #13 from anklos/fix_404

return null if route is undefined under 404 error.