Bugfix: in some cases, s may be referenced before assignment