fixed lifecycle problem (init was never called)