bugfix: regression leaf not exported