Fixed Helper.prepare_parameters