Added fix_fragmentation
disable debuging code