fix statusline bugs