Initialization of resource after get was passing init params in wrong order.