Fixed ES setup issue.