fix param integer min/max