small fix for ES