bug:session and local var