Bugfix (use private variable instead of class member)