fixed a status bar bug