fixed BQSR bug