corrected xca

Fixes #3939.