[minor] fix msgprint from duplicate name