[fix] 404 middleware