clean some pointer