fixes #6195 Back slash added to role name

Fixed the issue and pushed the code for review, please check it.