reduce boost shared_ptr usage

Some place not need shared_ptr at all