fix instance config api