cube role check fix