fixed a bug in linux memdump