change default n_parameters value to none