fixed crash in dump