Fix get system time