fix for os x