Fixed bug with prints.