fix green curve index