fixing shared_string storage iteration mechanism