res:dock:: fix time problem

get value from wrong variables.