fixed singleton typo in thrown exceptions