fix segfault when calling StopScript builtin with no parameters