make flume more robust