add debug for GetOSVersion
fix GetOSVersion