add elegant 404 fallback to static file check