fixed resources not loaded