fixes current branch display
fixes remote branch missing warning