Fix for yosemite