fixed filter to serve static files correctly.