fix typos, troubleshoot time duration problems