bugfix syntax in constructor