remove extra initialize code
fix crash issue: std::shared_ptr and boost::shared_ptr not match