compacting memory did not work properly -- fixed that shit