fixed errors in printing