Bug fix in config export