take care of tiny memory leaks