fixed js error on time report