modified win_release