Remove extra line at the end.