fix RoleFunction annotation