Fix obvious mistake in constructor