merge custom parameters into main config, fixed #2003
Merge pull request #2019 from Guite/1.4

merge custom parameters into main config, fixed #2003