Fix for static resource loading