Fixed class variable access warning