capitalization error in trainTargets