add params validations