flash-bags fix