fixed rendering technique memory leaks