change role bug fix