Fix debug logs.