updated garbage collection bug in safari