patch for params num