Fixed incorrect time logging