fix: es_query variable shadows es_query function