fixed resources static loading