active_ is not properly initialized. Please add initialization to false in the constructor