fixed bug config.elastic