remove unused pointer