Fixed for OSX Maverick