small fixed for resource loading