Fixed regbuild_string rollback