removed redundant  PMS.isWindows()