Fixed yosemite issue.