Fix tuple error