branch extraction fix