used memory blocks fix for previous commit