fix: corrected a nasty typo that could cast an ``NameError`` exception. (Thanks @sferket for reporting)