Fix problem with os use