Fix typo found in enclosure function