set correct name to branch caption