handle empty instances state