fix some bugs in se align
fix some bugs