fixed external branch pulling