Fixed list and tuple error