Fix incorrect exception var name