optimize InstanceLoader