Bugfix for config