fix segfault in soap-ctrl-client