finish memory management fragment