Flashbag variable fix