bugfix crash data using bad register values when dumping memory