Fixed case problem when instantiating resources