fix static initialization fiasco