a couple changes to memdbg