fixes for lsadump and cachedump