removing os x specific data