fix problem with fetching multiple bags