[ca] Fixed more runtime errors