some improvements on statusline