fix the bug in alnpe.c which store the wrong answer