mac: cleanup