restoring branch