solve static file setting problem