fixed kernel memory corruption with nano