dump management is buggy. zero length when it should not be