Removed bug in precedence of config data