fix scan widget to show correct rank