fixed fatal error and changed to a 404 error, fixes #107, fixes dioscouri/amritasingh-f3#292