attempting to fix resource loading issue