Fix  fatal error when using config file
Merge pull request #731 from CrazyAwesomeCompany/develop

Fix fatal error when using config file