sanitized some input values