fixed leading zero recurring bug