[Logs]: fixed a bug