repair statusbar (ugly realization -_-)