fixed resources not loading