fixed up value/index