fixed "current branch" feature