Replacing deleted line