fix #22204: tuning parameter doesn't accept negative values