updated VarStr to increment if set more than once