Fixed bug where branch isn't stored during freeze