add image mark and sweep garbage