method to set the initial range of an existing variable
fix PrintAllDefault method