fix handle static files