Fix typo in singleton example