fix bug in analyze script
20141014backup