fix a stupid bug in ana.cpp