merged was config, as es not working