line appended twice