init static resource