fixed lazyflow error. had_value should be bool