fix for mac os 10.8