workaround for ES