fix typos, troubleshoot errors with time duration