removed some os specific things