fixed defragment_memory bug