Re-add the ux destructor

Somehow it got lost