fix logger time bug