clean up code for BCa-CIs