bwa_wrapper fixed