Fix a bug in computing ξ