fixed potential segfault when pausing