updated to support dragonfly ~>1.0