Beam effects in AES revealed by XPS