cap uses correct branch