fixed static inits, the code never worked