fix unterm str
add branchvar to mediacenter