minor issues with cap