small bugfixes on configuration