remove static inits from header to source