fix another bug with unicode, clear context after running the command