Correction bug on nw alignment