make sure link uses right branch