replace first line