[BUG] fix minor bugs in RelatedWidget