minor bug fix repl_funScript.sml

after untested commit 9d17f0f