some fixes for infobar