fix Mac os version.