check when in init