Fixed bug in resource loading