fixes status bar issue

Solves #157