fix branch comparsion - by uuid