fixing a broken role comparison