Remove empty lines in console