fix bug:true not defined