fix static file setting