init properly to avoid random trigger init