[fix] addZero function for the case 0, minor styling changes