os mock fix