Actually fix the IllegalArgumentException