preserve indices from @defVar for printing