added sanitize to twigs