Remove extra line in printing