Update to make it works in MACOSX 10.9