Remove empty lines in console caused by \n\n