fixed resource loading for blocks