to stop garbage collector trick used