delete let on spp--get-state-char that import a local var