extract the first B0 image from dwi sequence bug fix