fix status window issue