another fix for OS X 10.5