fix division /10 error in printer