fix status bar bug