fixed a bug in 404 handling
Merge pull request #1 from mulka/master

fixed a bug in 404 handling