fix role bug