Fix ResourceManager Read/Write