class variable not local