Fixed more bugs that broke dmesg.