adjust to windows platform