handle routing errors as 404