fixed support for aliases when created in elasticsearch