modify for ddemnue to support status bar