fix branch spec