fix the numberBoxMode role check for annotations