fixed the getting of tags for report