fix for wrong standalone export