Fixed bug on empty print.