fix a bug in get_cover_batch()