use local variable instead global --- not failed. I am happy.