fix some config parse issue