remove legacy mac only stuff