attempt to fix arm64 compatibility