more improvements to wbi_new_id