some fixes regarding the 'modebar'