fix branch revisions