fixes instance not found problem