initialize and fix static resources