fixed capture alignment issue