Fix configuration/ini expansion issue. Thanks to smxy for testing.