overcome value error in win status test