Fix rivets number converter