bugfixes, added default config