Fix #588 drx segfault