fix the role error