create role bug fix