[minor] fix msgprint from duplicate name
Merge pull request #918 from pdvyas/fix-duplicate-name

[minor] fix msgprint from duplicate name