fix StatusBar variable issue #5