fix time problem for reward