tuple error checks