Fix the ClientResources bug