bugfix to support config extension.