another fix for correlate cindex