fixing os x mavericks issues