Wave function effects in inner shell ionization