first pass at correcting arm64 warnings