Fixed wrong type found for tuple