INTERNALERROR> UnboundLocalError: local variable 'expr_string' referenced before assignment