fix logger's bug