fix static export after 9b255e40932b