bug regarding getBranchNames have been eliminated