Switch libetpan ref