Bugfix: Wrong variable in constructor