convert fail to raise