another fix for mavericks