backwards compatible statusbar fix