fix wrong conversion table