Remove repeat app->path() call when render the system view
Fix middleware build wit prefixes