bug fix:can not read var