remove share_ptr of boost(not complete yet)