fix avoid division by zero
allow printing additional value