bugfixes for configs