fix instance export #1939