fix can't show result message in Windows