AVALANCHE: Fix potential integer overflow
AVALANCHE: Fix time output