Photo-electron spectra of fluorides and the influence of the madelung potential on inner shells