some os fixes