fixed windows show bug