fixes remote branch grabbing