fix for invalid bundle exports due to commit 7f91f35f4deab3705dedf0aa220fae96c9dd0663