fix segfaults for master in/master out fx stacks