fix segfault in approach translate