overrite date var from db when toolbox loading

from tunnel.