Fixed crash for arm64 platform