fix millisecond bug of Date.getTime()