wrong index in alignment