Fix esp  index