fix warning "member variable is not initialized in the constructor"