var incorrectly left out of var_getter method