fixed encoding of config