some minor change change from MAC OS