Fixed an issues that made it not run under 10.9