fixed some dump errors