correct rewrite for static files