fix some logging in arm.