Fix for frozen mac