fix segfault
app graph fails no model initialized set to graph