fix windows log warnings