hot fix: 'Spec is not defined'