Ex-situ Ni and Mn K-edge XAS were collected at room temperature at KMC-2 at BESSY II, Germany in both transmission and fluorescence modes. Reference spectra for energy calibration were collected before and each sample measurement. XAS spectra were obtained by subtracting the pre-edge background from the overall absorption and normalizing to the spline fit using Athena software. The k 2 -weighted EXAFS was Fourier transformed over the limited range of k from 3 to 11 Å -1 . Ex-situ Mg Kedge XAS was collected at room temperature in a UHV chamber at PIRX beamline at National Synchrotron Radiation Centre Solaris , Poland in the partial (PFY) fluorescence detection mode. The data was processed using Athena software. The k 2 -weighted EXAFS was Fourier transformed over the limited range of k from 3 to 8 Å -1 .