fix windows warning