Fixed up idx