small fix to validation param generation