Fixed protocol errors under x86_64.