fix another exception in savestate command