Bug fixed

pass this into InstanceContext