mistake in #48 - use correct exception