fix PM Windows in all ways.