delete _init after init in ApiStruct