fixed duplicate definition.
Merge pull request #7338 from Dhilan007/v3

fixed duplicate definition.