fixed an garbage collector oddity