append '.' at the end of line.