add statusbar support