FIX wrong parameter name in deprecation warning