bugfix for reading old config