restore the changes for line blocks