fix __destruct