Fixed mistake in generic.py