sanitize net input