Fix bug: clear status window