fixing freeze_mac.py