Fix broken conversion