fix avgwin metric in no wins case