checkBranch moved to after session start
merging