handle the wrapped cases