minor cleanup on index