fix some warnings in Arm