added dragonfly logic
trial fix for dragonfly