* fixed segfaults in the debugger