fix writing config