Fixed a bug concerning configuration.