printing error in LazyGraph