Fixes garbage collector