init head onetime