close misc os x compatability issues