fix segfault in hydrarun