fix for perfbar on os x