validate_params